package net.b521.petshop.service;


import net.b521.petshop.common.ServerResponse;

import javax.servlet.http.HttpServletResponse;

public interface StoreService {

    public ServerResponse add(String username,
                              String password,
                              String storeName,
                              String name,
                              String phone,
                              String detail,
                              String email,
                              String addr,
                              HttpServletResponse response);

    public ServerResponse setStoreName(Integer storeId, String storeName);

    public ServerResponse closeStore(Integer storeId, Integer sellerId);

    public ServerResponse getStoreDetail(Integer storeId, Integer sellerId);

    public ServerResponse listStore();


}
